<template>
  <div>
    <van-nav-bar title="5s巡检"   @click-left="onClickLeft"  >
      <template #left>
        <van-icon name="wap-home-o" size="25"/>
      </template>
    </van-nav-bar>

    <van-notice-bar
        left-icon="volume-o"
        text="功能正在开发中。"
    />

  </div>
</template>

<script>
import {Toast} from "vant";

export default {
  name: "Index",
  data() {
    return {
      active: 'home',
    };
  },
  methods: {
    onClickLeft() {
      this.$router.push("/home");
      Toast('返回home');
    },
    onClickRight() {
      Toast('筛选');
    },
  },
}
</script>

<style scoped>

</style>
